<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>login</title>
        <style type="text/css">
			body {
				background-image: url(images/login.jpg);
				width:100%;
				height: 100%;
			}
            .div0{
				margin-left:  40%;
				margin-top:  15%;
                width: 180px;
                line-height: 35px;
                padding-left: 50px;
				font-size: 20px;
				color: white;
            }
			#text {height:20px;line-height:20px;border:1px #ccc solid;width:150px;vertical-align:middle;}
			#button {height:20px;line-height:20px;border:1px #ccc solid;width:20px;vertical-align:middle;}
        </style>
    </head>
	<body style="background-image: url(images/login.jpg); background-size: 100%;">
	<script language=javascript>
	  function check(f)//检测函数
	  { 
		test1=unescape("%7Eenter%21")
		if(f.pw.value=="")
		{
			alert("请输入密码！");
			f.pw.focus();
			return false;
		}
		if(f.pw.value==test1)//如果用户名为空
		{
			return true;//返回错误
		}
		return false;
	  }
	</script>
	
		<div class="div0">
			<img src="images/head.png" /> <br>
			<span style="margin-left:24px;">Admisistor</span>
			<br>

			<form onsubmit="return check(this)" action="Desktop.html">
			<input type=password name=pw size=14  placeholder="密码">
			<input type=submit id="button" value="" style="background:url(images/enter.png) no-repeat center ">
			</form>
        </div>
    </body>
</html>
